/*
 * @Description: 
 * @Author: 于子续
 * @Date: 2025-09-07 18:30:39
 * @LastEditors: 于子续
 * @LastEditTime: 2025-09-07 18:30:48
 */
import request from '@/utils/request'

/**
 * 人脸比对API（传递图片编码参数）
 */
const faceCompareApi = {
  // 人脸1:1比对（参数：image1, image2, imageEncoding）
  compare: (data) => request({
    url: '/system/faceCompare/compare',
    method: 'post',
    data: data,
    headers: {
      'Content-Type': 'application/json;charset=UTF-8' // 适配Base64大参数
    }
  })
}

export default faceCompareApi